home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 68 75 | 72 73 6c 65 79 2e 69 62 |Path: hu|rsley.ib|
|00000010| 6d 2e 63 6f 6d 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |m.com!ne|ws.From:|
|00000020| 20 4d 61 78 20 57 61 74 | 65 72 6d 61 6e 20 3c 64 | Max Wat|erman <d|
|00000030| 77 61 74 65 72 40 77 69 | 67 68 74 2e 68 75 72 73 |water@wi|ght.hurs|
|00000040| 6c 65 79 2e 69 62 6d 2e | 63 6f 6d 3e 0a 4e 65 77 |ley.ibm.|com>.New|
|00000050| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 6c 61 |sgroups:| comp.la|
|00000060| 6e 67 2e 63 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |ng.c.Sub|ject: Re|
|00000070| 3a 20 64 6f 73 2e 68 20 | 65 71 75 69 76 61 6c 65 |: dos.h |equivale|
|00000080| 6e 74 20 69 6e 20 67 63 | 63 20 6f 72 20 63 63 20 |nt in gc|c or cc |
|00000090| 3f 0a 44 61 74 65 3a 20 | 54 68 75 2c 20 31 38 20 |?.Date: |Thu, 18 |
|000000a0| 41 70 72 20 31 39 39 36 | 20 31 30 3a 32 32 3a 35 |Apr 1996| 10:22:5|
|000000b0| 32 20 2b 30 31 30 30 0a | 4f 72 67 61 6e 69 7a 61 |2 +0100.|Organiza|
|000000c0| 74 69 6f 6e 3a 20 49 42 | 4d 20 55 4b 20 4c 61 62 |tion: IB|M UK Lab|
|000000d0| 6f 72 61 74 6f 72 69 65 | 73 20 4c 74 64 2e 0a 4d |oratorie|s Ltd..M|
|000000e0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 33 31 37 36 |essage-I|D: <3176|
|000000f0| 30 39 45 43 2e 46 46 36 | 40 77 69 67 68 74 2e 68 |09EC.FF6|@wight.h|
|00000100| 75 72 73 6c 65 79 2e 69 | 62 6d 2e 63 6f 6d 3e 0a |ursley.i|bm.com>.|
|00000110| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 33 31 37 |Referenc|es: <317|
|00000120| 33 42 37 30 31 2e 34 31 | 43 36 40 69 65 65 63 2e |3B701.41|C6@ieec.|
|00000130| 66 63 72 2e 65 73 3e 0a | 4e 4e 54 50 2d 50 6f 73 |fcr.es>.|NNTP-Pos|
|00000140| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 77 69 67 68 74 |ting-Hos|t: wight|
|00000150| 2e 68 75 72 73 6c 65 79 | 2e 69 62 6d 2e 63 6f 6d |.hursley|.ibm.com|
|00000160| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|00000170| 2e 30 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|00000180| 20 74 65 78 74 2f 70 6c | 61 69 6e 3b 20 63 68 61 | text/pl|ain; cha|
|00000190| 72 73 65 74 3d 75 73 2d | 61 73 63 69 69 0a 43 6f |rset=us-|ascii.Co|
|000001a0| 6e 74 65 6e 74 2d 54 72 | 61 6e 73 66 65 72 2d 45 |ntent-Tr|ansfer-E|
|000001b0| 6e 63 6f 64 69 6e 67 3a | 20 37 62 69 74 0a 58 2d |ncoding:| 7bit.X-|
|000001c0| 4d 61 69 6c 65 72 3a 20 | 4d 6f 7a 69 6c 6c 61 20 |Mailer: |Mozilla |
|000001d0| 32 2e 30 31 20 28 58 31 | 31 3b 20 49 3b 20 41 49 |2.01 (X1|1; I; AI|
|000001e0| 58 20 32 29 0a 54 6f 3a | 20 4f 73 63 61 72 20 43 |X 2).To:| Oscar C|
|000001f0| 68 69 63 20 3c 63 68 69 | 63 40 69 65 65 63 2e 66 |hic <chi|c@ieec.f|
|00000200| 63 72 2e 65 73 3e 0a 0a | 4f 73 63 61 72 20 43 68 |cr.es>..|Oscar Ch|
|00000210| 69 63 20 77 72 6f 74 65 | 3a 0a 3e 20 0a 3e 20 49 |ic wrote|:.> .> I|
|00000220| 27 6d 20 74 72 79 69 6e | 67 20 74 6f 20 70 61 73 |'m tryin|g to pas|
|00000230| 73 20 61 72 67 75 6d 65 | 6e 74 73 20 74 6f 20 61 |s argume|nts to a|
|00000240| 20 66 75 6e 63 74 69 6f | 6e 20 77 69 74 68 20 5f | functio|n with _|
|00000250| 61 72 67 76 20 61 6e 64 | 20 5f 61 72 67 63 0a 3e |argv and| _argc.>|
|00000260| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|00000270| 73 20 74 68 61 74 20 42 | 6f 72 6c 61 6e 64 20 34 |s that B|orland 4|
|00000280| 2e 35 20 70 65 72 6d 69 | 74 73 2e 0a 0a 65 67 0a |.5 permi|ts...eg.|
|00000290| 0a 69 6e 74 20 5f 61 72 | 67 63 3b 0a 63 68 61 72 |.int _ar|gc;.char|
|000002a0| 20 2a 2a 5f 61 72 67 76 | 3b 0a 0a 76 6f 69 64 20 | **_argv|;..void |
|000002b0| 66 75 6e 63 28 20 69 6e | 74 20 68 65 6c 6c 6f 20 |func( in|t hello |
|000002c0| 29 0a 7b 0a 20 20 72 65 | 74 75 72 6e 3b 0a 7d 0a |).{. re|turn;.}.|
|000002d0| 0a 3e 20 49 6e 20 42 6f | 72 6c 61 6e 64 20 79 6f |.> In Bo|rland yo|
|000002e0| 75 20 6d 75 73 74 20 64 | 6f 20 61 6e 20 69 6e 63 |u must d|o an inc|
|000002f0| 6c 75 64 65 20 6f 66 20 | 64 6f 73 2e 68 0a 3e 20 |lude of |dos.h.> |
|00000300| 57 68 69 63 68 20 69 73 | 20 74 68 65 20 65 71 75 |Which is| the equ|
|00000310| 69 76 61 6c 65 6e 74 20 | 69 6e 20 67 63 63 20 6f |ivalent |in gcc o|
|00000320| 72 20 63 63 20 69 6e 20 | 61 20 55 4e 49 58 20 57 |r cc in |a UNIX W|
|00000330| 53 20 3f 0a 3e 20 57 68 | 69 63 68 20 66 69 6c 65 |S ?.> Wh|ich file|
|00000340| 20 6d 75 73 74 20 49 20 | 69 6e 63 6c 75 64 65 20 | must I |include |
|00000350| 74 6f 20 64 6f 20 74 68 | 65 20 73 61 6d 65 20 3f |to do th|e same ?|
|00000360| 0a 0a 57 69 74 68 20 74 | 68 69 73 20 6c 69 6d 69 |..With t|his limi|
|00000370| 74 65 64 20 69 6e 66 6f | 2c 20 64 6f 65 73 6e 27 |ted info|, doesn'|
|00000380| 74 20 73 6f 75 6e 64 20 | 6c 69 6b 65 20 79 6f 75 |t sound |like you|
|00000390| 20 6e 65 65 64 20 74 6f | 20 64 6f 20 61 6e 79 74 | need to| do anyt|
|000003a0| 68 69 6e 67 2e 0a 59 6f | 75 20 68 61 76 65 6e 27 |hing..Yo|u haven'|
|000003b0| 74 20 64 65 73 63 72 69 | 62 65 64 20 74 68 65 20 |t descri|bed the |
|000003c0| 70 72 6f 62 6c 65 6d 20 | 63 6f 6d 70 72 65 68 65 |problem |comprehe|
|000003d0| 6e 73 69 62 6c 79 2e 0a | 0a 54 6f 20 70 61 73 73 |nsibly..|.To pass|
|000003e0| 20 61 72 67 75 6d 65 6e | 74 73 20 74 6f 20 61 20 | argumen|ts to a |
|000003f0| 66 75 6e 63 74 69 6f 6e | 20 79 6f 75 20 68 61 76 |function| you hav|
|00000400| 65 20 77 72 69 74 74 65 | 6e 2c 20 79 6f 75 20 64 |e writte|n, you d|
|00000410| 6f 6e 27 74 20 6e 65 65 | 64 20 61 6e 79 0a 73 74 |on't nee|d any.st|
|00000420| 61 6e 64 61 72 64 20 68 | 65 61 64 65 72 20 66 69 |andard h|eader fi|
|00000430| 6c 65 2c 20 61 6e 64 20 | 6f 6e 6c 79 20 6e 65 65 |le, and |only nee|
|00000440| 64 20 6f 6e 65 20 6f 66 | 20 79 6f 75 72 20 6f 77 |d one of| your ow|
|00000450| 6e 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 74 68 |n if you| have th|
|00000460| 65 0a 66 75 6e 63 74 69 | 6f 6e 20 69 6e 20 61 20 |e.functi|on in a |
|00000470| 73 65 70 61 72 61 74 65 | 20 66 69 6c 65 2e 20 45 |separate| file. E|
|00000480| 67 20 69 66 20 6d 61 69 | 6e 28 29 20 77 61 73 20 |g if mai|n() was |
|00000490| 69 6e 20 6d 61 69 6e 2e | 63 20 61 6e 64 20 66 75 |in main.|c and fu|
|000004a0| 6e 63 28 29 20 77 61 73 | 0a 69 6e 20 66 75 6e 63 |nc() was|.in func|
|000004b0| 2e 63 2c 20 61 6e 64 20 | 6d 61 69 6e 28 29 20 63 |.c, and |main() c|
|000004c0| 61 6c 6c 65 64 20 66 75 | 6e 63 28 29 2c 20 74 68 |alled fu|nc(), th|
|000004d0| 65 6e 20 79 6f 75 20 77 | 6f 75 6c 64 20 68 61 76 |en you w|ould hav|
|000004e0| 65 20 61 20 66 75 6e 63 | 2e 68 20 77 69 74 68 0a |e a func|.h with.|
|000004f0| 66 75 6e 63 28 29 73 20 | 70 72 6f 74 6f 74 79 70 |func()s |prototyp|
|00000500| 65 20 69 6e 20 74 6f 20 | 69 6e 63 6c 75 64 65 20 |e in to |include |
|00000510| 69 6e 20 62 6f 74 68 20 | 6d 61 69 6e 2e 63 20 61 |in both |main.c a|
|00000520| 6e 64 20 66 75 6e 63 2e | 63 20 2e 20 49 66 20 69 |nd func.|c . If i|
|00000530| 6e 20 66 75 6e 63 2e 63 | 0a 79 6f 75 20 68 61 76 |n func.c|.you hav|
|00000540| 65 20 67 6c 6f 62 61 6c | 20 76 61 72 69 61 62 6c |e global| variabl|
|00000550| 65 73 20 64 65 66 69 6e | 65 64 20 61 6e 64 20 6d |es defin|ed and m|
|00000560| 61 69 6e 28 29 20 77 61 | 6e 74 73 20 74 6f 20 73 |ain() wa|nts to s|
|00000570| 65 65 20 74 68 65 6d 2c | 20 74 68 65 6e 20 74 68 |ee them,| then th|
|00000580| 65 0a 65 78 74 65 72 6e | 61 6c 20 64 65 66 69 6e |e.extern|al defin|
|00000590| 69 74 69 6f 6e 73 20 6e | 65 65 64 20 74 6f 20 62 |itions n|eed to b|
|000005a0| 65 20 70 75 74 20 69 6e | 20 66 75 6e 63 2e 68 20 |e put in| func.h |
|000005b0| 74 6f 6f 2e 0a 0a 42 75 | 74 20 77 68 65 74 68 65 |too...Bu|t whethe|
|000005c0| 72 20 74 68 69 73 20 69 | 73 20 61 6e 79 74 68 69 |r this i|s anythi|
|000005d0| 6e 67 20 6c 69 6b 65 20 | 77 68 61 74 20 79 6f 75 |ng like |what you|
|000005e0| 20 77 61 6e 74 65 64 20 | 74 6f 20 6b 6e 6f 77 2c | wanted |to know,|
|000005f0| 20 49 20 64 6f 6e 27 74 | 20 6b 6e 6f 77 2e 0a 0a | I don't| know...|
|00000600| 4d 61 78 2e 0a 0a 3e 20 | 0a 3e 20 54 68 61 6e 6b |Max...> |.> Thank|
|00000610| 73 20 61 20 6c 6f 74 2e | 0a 3e 20 0a 3e 20 2d 2d |s a lot.|.> .> --|
|00000620| 0a 3e 20 4f 73 63 61 72 | 20 43 68 69 63 0a 3e 20 |.> Oscar| Chic.> |
|00000630| 49 6e 73 74 69 74 75 74 | 65 20 66 6f 72 20 53 70 |Institut|e for Sp|
|00000640| 61 63 65 20 53 74 75 64 | 69 65 73 20 6f 66 20 43 |ace Stud|ies of C|
|00000650| 61 74 61 6c 6f 6e 69 61 | 0a 3e 20 50 67 2e 20 4c |atalonia|.> Pg. L|
|00000660| 6c 75 69 73 20 43 6f 6d | 70 61 6e 79 73 2c 32 33 |luis Com|panys,23|
|00000670| 0a 3e 20 30 38 30 31 30 | 20 42 61 72 63 65 6c 6f |.> 08010| Barcelo|
|00000680| 6e 61 20 28 53 70 61 69 | 6e 29 0a 3e 20 54 65 6c |na (Spai|n).> Tel|
|00000690| 3a 20 2b 33 34 20 33 20 | 33 31 35 2e 32 33 2e 32 |: +34 3 |315.23.2|
|000006a0| 33 0a 3e 20 46 61 78 3a | 20 2b 33 34 20 33 20 32 |3.> Fax:| +34 3 2|
|000006b0| 20 36 38 2e 32 35 2e 32 | 36 0a 3e 20 0a 3e 20 63 | 68.25.2|6.> .> c|
|000006c0| 68 69 63 40 69 65 65 63 | 2e 66 63 72 2e 65 73 0a |hic@ieec|.fcr.es.|
|000006d0| 3e 20 68 74 74 70 3a 2f | 2f 77 77 77 2e 69 65 65 |> http:/|/www.iee|
|000006e0| 63 2e 66 63 72 2e 65 73 | 2f 0a 0a 2d 2d 20 0a 20 |c.fcr.es|/..-- . |
|000006f0| 20 20 20 5f 5f 5f 20 20 | 20 20 20 20 20 20 20 20 | ___ | |
|00000700| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 61 69 6c | | mail|
|00000710| 74 6f 3a 64 77 61 74 65 | 72 40 68 75 72 73 6c 65 |to:dwate|r@hursle|
|00000720| 79 2e 69 62 6d 2e 63 6f | 6d 0a 20 20 2f 20 20 2f |y.ibm.co|m. / /|
|00000730| 20 20 2f 20 20 5f 20 20 | 20 20 20 20 20 2f 20 20 | / _ | / |
|00000740| 20 20 20 2f 20 20 5f 20 | 20 5f 5f 20 5f 5f 20 20 | / _ | __ __ |
|00000750| 20 5f 20 20 20 5f 5f 20 | 20 20 5f 0a 20 2f 20 20 | _ __ | _. / |
|00000760| 2f 20 20 2f 20 2f 5f 2f | 20 7c 2f 20 20 2f 20 20 |/ / /_/| |/ / |
|00000770| 2f 20 20 2f 20 2f 5f 2f | 20 20 2f 20 20 2f 5f 20 |/ / /_/| / /_ |
|00000780| 20 20 2f 5f 2f 20 2f 20 | 2f 20 2f 20 2f 5f 2f 20 | /_/ / |/ / /_/ |
|00000790| 2f 7c 20 2f 0a 2f 20 20 | 2f 20 20 2f 20 2f 20 20 |/| /./ |/ / / |
|000007a0| 2f 20 2f 7c 20 20 2f 5f | 2f 5f 2f 20 2f 20 20 2f |/ /| /_|/_/ / /|
|000007b0| 20 20 2f 20 20 2f 5f 20 | 20 2f 20 20 7c 20 20 2f | / /_ | / | /|
|000007c0| 20 2f 20 2f 20 2f 20 20 | 2f 20 2f 20 7c 2f 0a | / / / |/ / |/. |
+--------+-------------------------+-------------------------+--------+--------+